package com.lovo.model.DOS;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * Description:
 *
 * @author LiuChengQi
 * @date Created on 2020/11/24
 */
@Data
@TableName("user_1114")
@NoArgsConstructor
public class UserDO implements Serializable {
    @TableId(value = "u_id", type = IdType.AUTO)
    private Integer userId;
    @TableField("u_loginName")
    private String loginName;
    @TableField("u_pwd")
    private String pwd;

    public UserDO(String loginName, String pwd) {
        this.loginName = loginName;
        this.pwd = pwd;
    }
}
